package com.itheima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.itheima.sh.user.mapper")
@EnableDiscoveryClient   // 注册到Eureka注册中心
public class User_service {
    public static void main(String[] args) {
        SpringApplication.run(User_service.class, args);
        System.out.println("user_service启动了！");
    }
}
